package com.qingzhuge.exception;


import com.qingzhuge.common.HttpCode;

import java.util.Map;

/**
 * @author : zero.xiao
 * @description :手机号验证错误
 * @modified :
 */
public class NumberException extends BaseException {

    public NumberException() {
        super(HttpCode.VALIDATOR_FAILED.message());
    }

    public NumberException(Map data) {
        super(data);
    }

    public NumberException(String message) {
        super(message);
    }

    public NumberException(Throwable ex) {
        super(ex);
    }

    public NumberException(String message, Exception e) {
        super(message, e);
    }

    @Override
    public int getCode() {
        return HttpCode.VALIDATOR_FAILED.value();
    }
}
